import request from "../utils/request";

// 公司列表
export function companyFind(params) {
    return request({
        method: "get",
        url: "/api/Company/Find",
        params
    });
}

// 公司详情
export function companyDetail(params) {
    return request({
        method: "get",
        url: "/api/Company/Detail",
        params
    });
}

// 创建公司
export function comapnyCreate(data) {
    return request({
        method: "post",
        url: "/api/Company/Create",
        data
    });
}

//修改公司
export function companyUpdate(data) {
    return request({
        method: "post",
        url: "/api/Company/Update",
        data
    });
}

// 删除公司
export function companyDelete(params) {
    return request({
        method: "delete",
        url: "/api/Company/Delete",
        params
    });
}

//充值余额
export function Recharge(data) {
    return request({
        method: "post",
        url: "/api/Company/Recharge",
        data
    });
}